package cn.byapps.hw.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name = "cron")
@Data
@AllArgsConstructor
@NoArgsConstructor

/**
 * 定时器配置实体类
 */
public class Cron implements Serializable {
    @Id
    @Column(name = "id", length = 11)
    private Integer id;
    @Column(name = "corn", length = 30)
    private String cron;
}
